﻿/* global color #a14949 
   global color #ca0303 
----------------------------------------------------------*/

/* px -> em
    12px <==> 0.75em
    13px <==> 0.8125em
    16px <==> 1em
    19px <==> 1.1875em
    20px <==> 1.25em
    24px <==> 1.5em
    28px <==> 1.75em
    32px <==> 2em
    36px <==> 2.25em
    40px <==> 2.5em
    66px <==> 4.125em
----------------------------------------------------------*/
html {
    /* overflow-y: scroll; */
    height: 100%;
    width: 100%;
    bottom: -51px;
}

body, pre, input, textarea, select {
    font-family: 'Microsoft JhengHei', 'YouYuan', 'Microsoft YaHei', SimHei, Sans-Serif;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    line-height: 1;
    font-weight: 400;
    /* background-color: #dddddd;*/
    color: #666666;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-size: 1em;
    font-style: normal;
}

strong, em {
    font-style: normal;
    font-weight: 700;
}

p, blockquote, form, ol, dl, dir, menu, dd {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ol, dir {
    list-style-type: none;
}

img, hr {
    border: 0;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

pre {
    margin: 0;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: #666666;
}

    a:focus {
        outline: none;
    }

#warp {
    margin: 0 auto 0;
    /*padding-top: 51px;*/
    width: 100%;
    height: 100%;
    *zoom: 1;
    background-color: #ffffff;
}

#dialog-wrap {
    width: 640px;
    height: 480px;
}

header {
    margin: 0 auto;
    padding: 0;
    border-bottom: 5px solid #dddddd;
    width: 100%;
    background-color: #eeeeee;
    font-size: 0.81em;
    /*position: fixed;
    left: 0;
    top: 0;
    z-index: 900001;*/
    /* outline: 1px solid red;*/
}

.header-sign {
    position: absolute;
    right: 0;
    top: 0;
}

nav {
    clear: left;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    width: 920px;
    overflow: hidden;
    /* outline: 1px solid red;*/
}

    nav ul {
    }

    nav li {
        float: left;
        margin: 0 10px 0 0;
        padding: 10px 10px;
    }

    nav ul li a {
        padding: 0 2px;
        height: 24px;
        font-size: 1.25em;
    }

    nav #logo {
    }

#direct {
    margin: 0 auto 0;
    width: 960px;
}

#body {
    clear: left;
    margin: 0 auto 0;
    width: 960px;
    background-color: #ffffff;
    /*border-left: 1px solid #dd080a;
    border-right: 1px solid #dd080a;*/
    /* outline: 1px solid red;*/
}

.stage {
    clear: left;
    float: left;
    overflow: hidden;
    /* outline: 1px solid red;*/
}

    .stage h2 {
        padding: 8px 0 10px;
        font-size: 2.75em;
    }

    .stage h3 {
        padding: 8px 0 10px;
        line-height: 1;
        font-size: 1.75em;
    }

    .stage h4 {
        height: 32px;
        line-height: 1;
        font-size: 1.5em;
    }

footer {
    clear: left;
    margin: 0 auto 0;
    padding: 20px 20px 20px;
    width: 920px;
    /*position: absolute;
    top: 100%;*/
    border-top: 2px solid #dddddd;
    /* outline: 1px solid red;*/
}

/* colorful link 
----------------------------------------------------------*/

.color-1, .color-1:hover {
    border-top: 3px solid #861b47;
}

    .color-1:hover {
        color: #861b47;
    }

.color-2, .color-2:hover {
    border-top: 3px solid #dd080a;
}

    .color-2:hover {
        color: #dd080a;
    }

.color-3, .color-3:hover {
    border-top: 3px solid #fe8d00;
}

    .color-3:hover {
        color: #fe8d00;
    }

.color-4, .color-4:hover {
    border-top: 3px solid #75af1c;
}

    .color-4:hover {
        color: #75af1c;
    }

.color-5, .color-5:hover {
    border-top: 3px solid #ffc501;
}

    .color-5:hover {
        color: #ffc501;
    }

.color-6, .color-6:hover {
    border-top: 3px solid #279feb;
}

    .color-6:hover {
        color: #279feb;
    }

.color-7, .color-7:hover {
    border-top: 3px solid #ef4db0;
}

    .color-7:hover {
        color: #ef4db0;
    }

.color-8, .color-8:hover {
    border-top: 3px solid #333333;
}

    .color-8:hover {
        color: #333333;
    }

a.button {
    margin-top: 2px;
    padding: 3px 25px 6px;
    background-color: #ca0303;
    color: #ffffff;
    zoom: 1;
}

/* form 
----------------------------------------------------------*/
.form {
    float: left;
}

    .form .field {
        clear: left;
        float: left;
    }

    .form .editor-label {
        padding: 10px 0 4px 0;
        height: 18px;
    }

        .form .editor-label label {
            float: left;
        }
    
        .form .editor-label-span {
            font-size: 0.81em;
            color: rgba(0,0,0,0.27);
        }

    .form .editor-field {
        float: left;
        min-height: 32px;
    }

        .form .editor-field + .editor-field {
            clear: left;
        }

        .form .editor-field label {
            display: inline-block;
            padding: 9px 0 0 0;
            height: 21px;
        }

        .form .editor-label label, .form .editor-field label {
            font-size: 0.81em;
        }

    .form input[type=text], .form input[type=password], .form textarea {
        padding: 4px 8px;
        height: 22px;
        line-height: 22px;
    }

    .form textarea {
        overflow-y: auto;
    }

    .form input[type=submit], .form input[type=reset], .form input[type=button], .form button {
        margin-top: 2px;
        padding: 3px 25px 5px;
        border: 0;
        height: 30px;
        background-color: #ca0303;
        font-size: 1em;
        color: #fff;
    }

    .form input[disabled] {
        font-weight: 400;
        background-color: #666666;
        color: #ffffff;
    }

    .form select {
        padding: 0 0 0 5px;
        height: 30px;
        font-weight: 400;
    }

    .form input[type=checkbox], input[type=radio] {
        height: 30px;
        vertical-align: top;
    }

    .form input[type=file] {
        padding: 0 0 0 5px;
        height: 30px;
    }

    .form input[type=submit].symbol {
        padding: 3px 5px 7px;
        border: 0;
        width: 152px;
        height: 48px;
        background: url('images/Swap-Right.png') no-repeat #861b47;
        color: #ffffff;
        line-height: 1.4em;
        font-size: 1.5em;
        text-indent: 1.6em;
        cursor: pointer;
    }

        .form input[type=submit].symbol:hover {
            opacity: .7;
            filter: alpha(opacity=70);
        }

/* jquery validation 
----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
    font-size: .75em;
    font-weight: 400;
    display: block;
    float: left;
    padding-left: 5px;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* jquery ui 
----------------------------------------------------------*/
.ui-widget-content {
    font-size: 0.75em;
    font-weight: 400;
}

/* metrojs
----------------------------------------------------------*/
.live-tile, .list-tile {
    margin: 0;
}

    .live-tile p {
        line-height: normal;
    }

.fourTiles {
}

.flip-list.fourTiles > li, .flip-list.fourTiles > li > div, .flip-list.fourTiles > li > div > img, .flip-list.fourTiles > li > div > a {
    height: 126px;
    width: 126px;
}

.fourTiles1 {
    background-position: 0 0;
}

.fourTiles2 {
    background-position: -126px 0;
}

.fourTiles3 {
    background-position: 0 -126px;
}

.fourTiles4 {
    background-position: -126px -126px;
}

.nineTiles {
}

.flip-list.nineTiles > li, .flip-list.nineTiles > li > div, .flip-list.nineTiles > li > div > img, .flip-list.nineTiles > li > div > a {
    height: 84px;
    width: 84px;
}

.nineTiles1 {
    background-position: 0 0;
}

.nineTiles2 {
    background-position: -84px 0;
}

.nineTiles3 {
    background-position: -168px 0;
}

.nineTiles4 {
    background-position: 0 -84px;
}

.nineTiles5 {
    background-position: -84px -84px;
}

.nineTiles6 {
    background-position: -168px -84px;
}

.nineTiles7 {
    background-position: 0 -168px;
}

.nineTiles8 {
    background-position: -84px -168px;
}

.nineTiles9 {
    background-position: -168px -168px;
}
